package com.geovis.emergency.spd.entity.filing.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 预案备案
 * </p>
 *
 * @author 曾德实
 * @since 2023-08-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("tb_plan_filings")
@ApiModel(value = "TbPlanFilings对象", description = "预案备案")
public class TbPlanFilings extends BaseEntity {

    @ApiModelProperty("预案名称")
    private String planName;

    @ApiModelProperty("预案级别：1--省级、2-市级")
    private String planLevel;

    @ApiModelProperty("文号")
    private String docNum;

    @ApiModelProperty("预案类型：1-总体应急预案、2-专项应急预案、3-部门应急预案、4-联合应急预案")
    private String planType;

    @ApiModelProperty("备案时间")
    private LocalDateTime filingsTime;

    @ApiModelProperty("事件类型：1-自然灾害、2-事故灾难、3-社会安全、4-公共卫生、5-其他")
    private String eventType;

    @ApiModelProperty("是否涉密")
    private String isClassified;

    @ApiModelProperty("编制单位ID")
    private String preparationUnitId;

    @ApiModelProperty("备案规则ID")
    private String filingsRuleId;

}
